package com.wei.czz.framework.annex.service;

import com.wei.czz.framework.annex.entity.BusinessAnnexEntity;

import java.util.List;


/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-03-29 10:50:10
 * className: BusinessAnnexService
 * version: 1.0
 * description:
 */
public interface BusinessAnnexService {

    /**
     * 批量保存业务已关联附件配置操作
     * @param businessAnnexList 业务关联附件配置列表
     */
    void batchSaveBusinessAnnex(List<BusinessAnnexEntity> businessAnnexList);

    /**
     * 获取业务已关联附件配置操作
     * @param relationId   关联主键
     * @param relationCode 关联编码
     * @param classify     附件分类
     * @return 业务已关联附件配置列表
     */
    List<BusinessAnnexEntity> getBusinessAnnexList(Long relationId, String relationCode, Integer classify);

    /**
     * 批量修改业务已关联附件配置操作
     * @param businessAnnexList 业务关联附件配置列表
     */
    void batchUpdateBusinessAnnex(List<BusinessAnnexEntity> businessAnnexList);

}

